package controller;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;



public class InfoController extends AbstractController{

	@SuppressWarnings("unchecked")
	@Override
	protected ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception {		 
		ModelAndView modelAndView = new ModelAndView("grupo");
		Map<String, Object> model = modelAndView.getModel();
		List<String> integrantes = new ArrayList<String>();
		integrantes.add("84305		Pablo Iacopi");		
		integrantes.add("81343		Germán Urlich");
		integrantes.add("84245		Nicolás Melchiori");
		integrantes.add("82310		Julian Vega");
		integrantes.add("80626		Alvaro Farias");
		model.put("integrantes", integrantes);
		return modelAndView;
	}


}
